#include <cxcore.h>
#include <cv.h>
#include <stdio.h>
#include <highgui.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <math.h>
//#include <direct.h>
#include <iostream>
#include "faceson.h"

using namespace std;

int main()
{
    IplImage* res;
    res = cvLoadImage("resim27.jpg",1);
    if(!res){
    cout << "Resim yok!\n";
    return -1;
    
}
    runface(res); 
    cvReleaseImage( &res );
    
    cout << "The final image is crop.jpg" << endl;
    
    return 0;
}

